+2008-01-25 Richard Hult <richard@imendio.com>
+
+ * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
+ const and remove unused variables).
+
2008-01-25 Michael Natterer <mitch@imendio.com>
* gtk/gtkbutton.h
}
static void
-gdk_window_impl_quartz_begin_paint_region (GdkPaintable *paintable,
- GdkRegion *region)
+gdk_window_impl_quartz_begin_paint_region (GdkPaintable *paintable,
+ const GdkRegion *region)
{
GdkWindowImplQuartz *impl = GDK_WINDOW_IMPL_QUARTZ (paintable);
GdkDrawableImplQuartz *drawable_impl;
}
static void
-gdk_window_impl_quartz_invalidate_maybe_recurse (GdkPaintable *paintable,
- GdkRegion *region,
- gboolean (*child_func) (GdkWindow *, gpointer),
- gpointer user_data)
+gdk_window_impl_quartz_invalidate_maybe_recurse (GdkPaintable *paintable,
+ const GdkRegion *region,
+ gboolean (*child_func) (GdkWindow *, gpointer),
+ gpointer user_data)
{
GdkWindowImplQuartz *window_impl = GDK_WINDOW_IMPL_QUARTZ (paintable);
GdkDrawableImplQuartz *drawable_impl = (GdkDrawableImplQuartz *) window_impl;
if (impl->toplevel)
{
- NSRect content_rect;
- NSRect frame_rect;
-
/* Update main window. */
main_window_stack = g_slist_remove (main_window_stack, window);
if ([NSApp mainWindow] == impl->toplevel)